{php}
    if (strpos($field['name'],'[')) {
        $field['id']=str_replace(']','',str_replace('[','',$field['name']));
      }else{
        $field['id']=$field['name'];
      }
      $field = array_merge($field,$field['options']);
      unset($field['options']);
{/php}
{:widget('common/editor/ueditor',[$field])}
